# Template file for 'zsh-autocomplete'
pkgname=zsh-autocomplete
version=22.01.21
revision=1
depends="zsh"
short_desc="Real-time type-ahead completion for Zsh"
maintainer="privatewright <privateercp@protonmail.com>"
license="MIT"
homepage="https://github.com/marlonrichert/zsh-autocomplete"
distfiles="${homepage}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=d3b3d9cc8ea380d1ec3d9792cfeeef21b1867615c9434ae554a2c55957cdc29e
do_install() {
	vmkdir usr/share/zsh/plugins/${pkgname}
	vcopy functions usr/share/zsh/plugins/${pkgname}/
	vcopy scripts usr/share/zsh/plugins/${pkgname}/
	vsconf .zshrc
	vinstall zsh-autocomplete.plugin.zsh 644 usr/share/zsh/plugins/${pkgname}
	vlicense LICENSE
}
